<script type="text/javascript">
    $(function () {
        var xyzsflxType = 1;
        $("#xyz_search_grid").edatagrid({
            url:$.webPath() + "/zjgl/xyz/xyzwsyList?xyzsflxType="+xyzsflxType,
            fitColumns:true,
            singleSelect:false,
            pagination:true,
            fit:true,
            rownumbers:true,
            columns: [
                [
                    {field: 'checked', checkbox: true},
                    {field:'id', title:'ID', hidden:true},
                    {field:'xyzhm', title:'信用证号码', width:25,align: 'center'},
                    {field:'yfczyh_qc', title:'出证行', width:30,align: 'center'},
                    {field:'jzdw_jc', title:'交证单位', width:30,align: 'center'},
                    {field:'dqje', title:'证面金额', width:20, formatter:function(value){
                        var sl = formatJe2(value,",");
                        return sl;
                    },align: 'right'},
                    {field:'yll', title:'月利率(%)', width:20,
                        formatter:function(value){
                            return value+"%";
                        },align: 'right'},
                    {field:'bzj', title:'保证金', width:25,
                        formatter:function(value){
                            return value;
                        }, formatter:function(value){
                        var sl = formatJe2(value,",");
                        return sl;
                    },align: 'right'},
                    {field:'lxe', title:'利息额', width:20, formatter:function(value){
                        var sl = formatJe2(value,",");
                        return sl;
                    },align: 'right'},
                    {field:'jkrq', title:'借款日期', width:20,align: 'center'},
                    {field:'dqrq', title:'到期日', width:20,align: 'center'},
                    {field:'bz', title:'备注', width:20,align: 'center'}
                ]
            ]
        });
    })
</script>
<div id="layout_pj_search" class="easyui-layout" data-options="fit:true">
    <div data-options="region:'center'">
        <table id="xyz_search_grid"></table>
    </div>
</div>